public class Test {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);


        Integer i = 150;
        Integer j = 150;
        System.out.println(i == j);
    }
    public static void main2(String[] args) {
        Integer i = 100;
        int a = i;
        System.out.println(a);

        int a2 = i.intValue();
        System.out.println(a2);

    }
    public static void main1(String[] args) {
       int a = 10;
       Integer integer = a; //装箱，
        System.out.println(integer);

        Integer i2 = Integer.valueOf(a);
        System.out.println(i2);


    }
}
